/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package espe.ccsoft.models;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author Carlos
 */
@Entity
public class Ruta implements Serializable {

    @Id
    private int id;
    private String codigo;
    private String nombre;
    private Date inicioHora;
    private Date finHora;
    private Date inicioHoraSab;
    private Date finHoraSab;
    private Date inicioHoraOrd;
    private Date finHoraOrd;
    private Date inicioHoraDom;
    private Date finHoraDom;
    private double distancia;
    private String tipoDia;
    private Timestamp fechaCreacion;
    private boolean estado;
    private int numBuses;
    private int numBusesOrd;
    private int numBusesSab;
    private int numBusesDom;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCodigo() {
        return codigo;
    }

    public void setCodigo(String codigo) {
        this.codigo = codigo;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public double getDistancia() {
        return distancia;
    }

    public void setDistancia(double distancia) {
        this.distancia = distancia;
    }

    public String getTipoDia() {
        return tipoDia;
    }

    public void setTipoDia(String tipoDia) {
        this.tipoDia = tipoDia;
    }

    public Timestamp getFechaCreacion() {
        return fechaCreacion;
    }

    public void setFechaCreacion(Timestamp fechaCreacion) {
        this.fechaCreacion = fechaCreacion;
    }

    public boolean isEstado() {
        return estado;
    }

    public void setEstado(boolean estado) {
        this.estado = estado;
    }

    public Date getInicioHora() {
        return inicioHora;
    }

    public void setInicioHora(Date inicioHora) {
        this.inicioHora = inicioHora;
    }

    public Date getFinHora() {
        return finHora;
    }

    public void setFinHora(Date finHora) {
        this.finHora = finHora;
    }

    public Date getInicioHoraSab() {
        return inicioHoraSab;
    }

    public void setInicioHoraSab(Date inicioHoraSab) {
        this.inicioHoraSab = inicioHoraSab;
    }

    public Date getFinHoraSab() {
        return finHoraSab;
    }

    public void setFinHoraSab(Date finHoraSab) {
        this.finHoraSab = finHoraSab;
    }

    public Date getInicioHoraOrd() {
        return inicioHoraOrd;
    }

    public void setInicioHoraOrd(Date inicioHoraOrd) {
        this.inicioHoraOrd = inicioHoraOrd;
    }

    public Date getFinHoraOrd() {
        return finHoraOrd;
    }

    public void setFinHoraOrd(Date finHoraOrd) {
        this.finHoraOrd = finHoraOrd;
    }

    public Date getInicioHoraDom() {
        return inicioHoraDom;
    }

    public void setInicioHoraDom(Date inicioHoraDom) {
        this.inicioHoraDom = inicioHoraDom;
    }

    public Date getFinHoraDom() {
        return finHoraDom;
    }

    public void setFinHoraDom(Date finHoraDom) {
        this.finHoraDom = finHoraDom;
    }

    public int getNumBuses() {
        return numBuses;
    }

    public void setNumBuses(int numBuses) {
        this.numBuses = numBuses;
    }

    public int getNumBusesOrd() {
        return numBusesOrd;
    }

    public void setNumBusesOrd(int numBusesOrd) {
        this.numBusesOrd = numBusesOrd;
    }

    public int getNumBusesSab() {
        return numBusesSab;
    }

    public void setNumBusesSab(int numBusesSab) {
        this.numBusesSab = numBusesSab;
    }

    public int getNumBusesDom() {
        return numBusesDom;
    }

    public void setNumBusesDom(int numBusesDom) {
        this.numBusesDom = numBusesDom;
    }
    
    
}
